/**
 * Project Name:jh
 * File Name:java_test.java
 * Package Name:com.jh.utils
 * Date:下午4:43:43
 * Copyright (c) 2021, LZ All Rights Reserved.
 *
*/

package com.jh.utils;

import java.util.Date;

import org.junit.jupiter.api.Test;

/**
 * Description: <br/>
 * Date: 下午4:43:43 <br/>
 * 
 * @author lz E-mail:withitren@outlook.com
 * @version
 * @see
 */
class java_test {

    @Test
    void test() {
        long date = new Date().getTime();
        String dateStr1 = String.valueOf(date);
        String dateStr2 = Long.toString(date);
        String dateStr3 = date + "";

        System.out.println("dateStr1: " + dateStr1 + " dateStr2: " + dateStr2 + " dateStr3: " + dateStr3);

    }

}
